<?php
/**
 * @since 2012.01.19.
 * @author Karasz Tamas
 * @link http://binga.hu/
 * @package 
 * ______ _____ _   _ _____  ___  
 * | ___ \_   _| \ | |  __ \/ _ \ 
 * | |_/ / | | |  \| | |  \/ /_\ \
 * | ___ \ | | | . ` | | __|  _  |
 * | |_/ /_| |_| |\  | |_\ \ | | |
 * \____/ \___/\_| \_/\____|_| |_/
 * 
 */
 
$sql->mysql_select("gallery", "*","","gallery_order ASC, gallery_name ASC");

$show = array(
	"gallery_id" => array(
		"type" => "id",
		"title" => "ID"
	),
	"gallery_name" => array(
		"type" => "title",
		"title" => "Teszt neve"
	)
);

$imagelist = array(
	array(
		"url" => "index.php?gallery.images.{ID}",
		"class" => "ui-icon-image",
		"title" => "Képek megtekintése",
		"onclick" => ""
	)
);

$page_title = "Albumok szerkesztése";

$page_text = $theme->render_db_list("gallery", "list", "edit", $max, $query_string[2], $sql->get_table(), $show,"", "index.php","modules/gallery/action_gallery.php",$imagelist);
 
?>